#include "Node.h"

namespace Behavior
{

struct IBTree
{
	virtual void Release() = 0;
	virtual void OnEvent(int eventID, void* pContext, int contextLen) = 0;
};

class XBTree
{
public:
	XBTree();
	virtual ~XBTree();
	void Release();
	void OnEvent(int eventID, void* pContext, int contextLen);
	virtual void OnCreateTree();
protected:
	XBTreeNode* m_pRoot;
};

}